package domain.PDU;

/**
 * @Author: ylc
 * @Description:变量名-值
 */
public class VariableBindings {
    /**
     * 变量名
     */
    private String objectName = "1.3.6.1.";
    /**
     * 变量类型
     */
    private String valueType;
    /**
     * 变量值
     */
    private String value;

    @Override
    public String toString() {
        return "\n          Object Name : " + objectName +
                "\n          Value (" + valueType + ") : " + value;
    }

    public VariableBindings(){
    }
    public VariableBindings(String objectName, String valueType, String value) {
        this.objectName = this.objectName + objectName;
        this.valueType = valueType;
        this.value = value;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public String getValueType() {
        return valueType;
    }

    public void setValueType(String valueType) {
        this.valueType = valueType;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
